package com.wing.purchase.model.request;

import com.wing.purchase.model.entity.PurchaseDeliveryRecordProduct;
import com.wing.purchase.model.entity.PurchasePlanDetail;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.wing.purchase.model.entity.PurchaseDeliveryRecord;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 供应商发货记录Form
 *
 * @author
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PurchaseDeliveryRecordForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 物流记录编号
     */
    private String logisticsNo;

    /**
     * 采购订单ID
     */
    private Long purchaseOrderId;

    /**
     * 运输方式
     */
    private String transportMode;

    /**
     * 运单编号
     */
    private String waybillNo;

    /**
     * 车牌号
     */
    private String plateNo;

    /**
     * 快递单号
     */
    private String courierNo;

    /**
     * 电话
     */
    private String phone;

    /**
     * 物流公司
     */
    private String logisticsCompany;

    /**
     * 物流录入类型
     */
    private String enterType;

    /**
     * 采购发货记录详情集合
     */
    private List<PurchaseDeliveryRecordProduct> purchaseDeliveryRecordProducts = new ArrayList<>();

    public interface Add{}

    public interface Update{}
}
